package org.adorsys.aderp.jpa.api.xchange;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * Used to describe views of a data record.
 * 
 * For fields that don't offer direct string serialization, formater and converter
 * can be defined.
 * 
 * @author fpo
 *
 */
public final class DataView implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * If the field can not be extracted using the name, the field expression will
	 * be used to extract the field. Spring EL is the expression language used.
	 */
	private final Map<String, String> fieldExpressions = new HashMap<String, String>();

	public Map<String, String> getFieldExpressions() {
		return fieldExpressions;
	}
}
